Skip to content

refactor: share legacy WHERE parsing across query builders (simplify A8) - #7720

Open
mikemcdougall wants to merge 3 commits into
trunkfrom
refactor/s-simplify-refactor-where
Open

mikemcdougall wants to merge 3 commits into
trunkfrom
refactor/s-simplify-refactor-where

Conversation

@mikemcdougall

Copy link
Copy Markdown
Member

Assignment

Founder simplification plan A8: simplify-A8-where, from handoffs/rc2-lanes/takeover/SIMPLIFY-REVIEW-2026-11-13.md. One helper family per PR.

Summary

Eight query builders duplicated WHERE parsing. Share the parser in Core while preserving each provider's accepted syntax, identifier mapping, numeric/text policy, SQL operators and parameter order, including parameters accumulated before a later parse failure. Four grammar profiles retain the existing provider differences.

Testing

Build-host provider suites passed: PostgreSQL165, MySQL83, SQL Server63, Oracle55, Redshift57, Snowflake44, DuckDB58. Core legacy parser tests16 and PostgreSQL WHERE/feature/storage tests243 also passed. FeatureQueryBuilderWhereClauseTests, FeatureQueryBuilderFieldNameValidationTests, and each provider's FeatureQueryBuilderTests check unchanged generated SQL/parameters. Final build-host pre-pr stage 0 passed at eff4afe. Independent source-head review approved; subsequent change only refreshes canonical shipping notices.

Parser options are explicit grammar/value enums; existing provider parameters and SQL behavior remain unchanged.

Gate Impact

PR build, tests and governance remain required.

Docs or Contract Impact

No HTTP, protocol, database or control-plane SDK contract changes.

Release/Deploy Impact

Standard rc.2 merge-and-release flow; no migration, infrastructure or settings changes.

Breaking Changes

None in supported service behavior.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-14T23:51:10.501239Z eff4afe PR opened
🔒 Security Review ✅ Completed 2026-11-14T23:52:32.181803Z eff4afe PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@mikemcdougall
mikemcdougall enabled auto-merge (squash) November 14, 2026 23:49
@honua-io-bot
honua-io-bot Bot disabled auto-merge November 14, 2026 23:50
@honua-io-bot
honua-io-bot Bot enabled auto-merge November 14, 2026 23:50

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant